<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta name="renderer" content="webkit" />
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
    <link rel="icon" href="/favicon.ico" />
    <title>宝威项目管理系统</title>
    <!--[if lt IE 11
      ]><script>
        window.location.href='/html/ie.html';
      </script><!
    [endif]-->
    <style>
      html,
      body,
      #app {
        height: 100%;
        margin: 0px;
        padding: 0px;
      }

      .chromeframe {
        margin: 0.2em 0;
        background: #ccc;
        color: #000;
        padding: 0.2em 0;
      }
      .loader-wrapper {
        position: relative;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        display: inline-block;
      }
      .loader-title {
        margin-top: 20px;
      }
      .loader {
        width: 230px;
        height: 3px;
        box-shadow: 0 3px 0 #4892ee;
        position: relative;
        clip-path: inset(-40px 0 -5px)
      }
      .loader:before {
        content: "";
        position: absolute;
        inset: auto calc(50% - 17px) 0;
        height: 50px;
        --g:no-repeat linear-gradient(#4892ee  0 0);
        background: var(--g),var(--g),var(--g),var(--g);
        background-size: 16px 14px;
        animation:
          l7-1 2s infinite linear,
          l7-2 2s infinite linear;
      }
      @keyframes l7-1 {
        0%,
        100%  {background-position: 0 -50px,100% -50px}
        17.5% {background-position: 0 100%,100% -50px,0 -50px,100% -50px}
        35%   {background-position: 0 100%,100% 100% ,0 -50px,100% -50px}
        52.5% {background-position: 0 100%,100% 100% ,0 calc(100% - 16px),100% -50px}
        70%,
        98%  {background-position: 0 100%,100% 100% ,0 calc(100% - 16px),100% calc(100% - 16px)}
      }
      @keyframes l7-2 {
        0%,70% {transform:translate(0)}
        100%  {transform:translate(200%)}
      }
    </style>
  </head>

  <body>
    <div id="app">
      <div class="loader-wrapper">
        <div class="loader"></div>
        <div class="loader-title">正在加载系统资源，请耐心等待...</div>
      </div>
    </div>
    <script type="module" src="/src/main.ts"></script>
  </body>
</html>
